﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="OInspectionView.aspx.cs" Inherits="IHISCETeim.Web.MachineSys.MacModel.OInspectionView" %>
<style type="text/css">
    table.octable{border: 1px solid #000;border-collapse: collapse;width: 100%;}  
    table.octable td {border: 1px solid #000;padding:1px;vertical-align:middle;}
    table.octable th{background-color: #CCCCCC;border: 1px solid #000;padding: 1px;text-align: center; height:25px; line-height:25px;}
    table.octable td.tdtitle{height:22px; line-height:22px; text-align:center; font-weight:bold; font-size:12px;}
    .DJNGItemCode,.DJNGExceptionrecord{width:90%;}
</style>
<h2 class="contentTitle" style="text-align:center;">
    <%=obj.SourceType %>
</h2>
<div class="pageContent">
    <form id="Form1" action="MacModel/OInspectionAdd.aspx?ajaxmethod=add" class="pageForm required-validate"
    onsubmit="return validateCallback(this,navTabAjaxDone);">
    <div class="pageFormContent" layouth="100">
         <table width="100%">
         <tr>
           
            <td width="150px" style="text-align:left;">
                检查时间:
            </td>
            <td >
                <%=obj.CheckDate %>                
            </td>
         </tr>
        </table>         
       
            <table class="octable" >
                <tr>
                    <td width="10%">型号：</td>
                    <td width="20%">                    
                        <%=obj.MachineType%> 
                    </td>
                    <td width="10%">防冻液：</td>
                    <td>
                        <%=obj.Antifreeze%> 
                    </td>
                </tr>
                <tr>
                    <td>机号：</td>
                    <td><%=obj.SerialNumber%> </td>
                    <td>机油：</td>
                    <td><%=obj.EngineOil%> </td>
                </tr>
                  <tr>
                    <td>司机号编号：</td>
                    <td><%=obj.CabNnumber%></td>
                    <td>液压油：</td>
                    <td><%=obj.HydraulicOil%></td>
                </tr>
                 <tr>
                    <td>计时器时间：</td>
                    <td><%=obj.Timer%></td>
                    <td>柴油：</td>
                    <td><%=obj.DieselOil%>
                    </td>
                </tr>
                 <tr>
                    <td>发动机号:</td>
                    <td><%=obj.EngineNumber%></td>
                   <td>仪表编号:</td>
                    <td><%=obj.MeterNumber%></td>
                </tr>
            </table>
    
        <div class="divider">
        </div>
         <table width="100%">
         <tr>
            <td width="90px" style="font-weight:bold;">
                点检项目:
            </td>
            <td  style="text-align:left;">
                (只需填写出现NG的项目)</td>
            
         </tr>
        </table>         
        <div class="divider">
        </div>  
         <table class="octable" >
            <tr> 
                <th>异常记录</th>
                <th width="10%">责任工位</th>
                <th>责任人</th>
                <th width="10%">责任供应商</th>
              <th>分类</th>
            </tr>            
              <asp:Repeater ID="rpDJNGItem" runat="server">
                <ItemTemplate>
                    <tr>                        
                        <td><%# Eval("Exceptionrecord")%></td>
                       <td ><%# Eval("Station")%></td>
                        <td ><%# Eval("DutyWorker")%></td>
                       <td ><%# Eval("Supplier")%></td>
                       <td ><%# Eval("NGClass")%></td>
                    </tr>
                </ItemTemplate>
               </asp:Repeater>
        </table>        
    </div>
    <div class="formBar">
        <ul>
           
            <li>
                <div class="button">
                    <div class="buttonContent">
                        <button type="button" class="close">
                            取消</button></div>
                </div>
            </li>
        </ul>
    </div>
    </form>
</div>
